@define-color color_bg #46e216;
@define-color color_select #b916e2;
@define-color color_border #424242;
@define-color color_border_active #6699cc;
@define-color color_text #ffffff;
@define-color color_urgent #8f0a0a;

* {
  all: unset;
  font-family: Maple Mono NF CN, sans-serif;
  font-size: 20px;
}


#bar {
  /* margin: 10px 10px; */
}

#start {}

#center {}

#center .focused {
  font-weight: 900;
  color: greenyellow;
}

#end {}

/* #end .widget {
  box-shadow: rgba(0, 0, 0, 0.116) 2 2 5 2px;
  border: unset;
  padding: 0 10px;
  border-color: @color_bg;

} */

/* -- workspaces -- */
.workspaces .item {
  padding: 0 15px;
  margin: 0 0 0 10px;
  border-radius: 0;
  background-color: @color_bg;
}

.workspaces .item.focused {
  font-weight: 900;
  box-shadow: inset 0 -3px;
  margin: 0 0 0 10px;
  padding: 10px 35px;
  animation: gradient 10s ease infinite;
  background-color: @color_select;
}

/* .workspaces .item:hover {
  box-shadow: inset 0 -3px;
  box-shadow: gold;

} */

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.launcher {

  /* margin-bottom: 4px; */
}

.launcher .item {
  margin: 0 0 0 10px;
}



.popup {
  background-color: #1c1c1c;

  border: 2px solid;
  border-color: aqua;
  border-radius: 8px;
  padding: 4px;
}

.popup-launcher .popup-item {
  border-bottom: 1px solid #424242;

}

.popup-item:hover {
  background-color: aqua;
  color: black;
  border-radius: 8px;
}


/* #end .item{
  padding: 0 10px;
  margin: 3px 0 0 0;
  border-radius: 0;
} */

/* cpu */
.sysinfo {
  margin-left: 10px;

}

.sysinfo .item {
  margin-left: 5px;
  padding: 0 10px;
  background: linear-gradient(45deg, rgb(254, 240, 224) 0%, rgb(244, 169, 158) 50%, rgb(238, 214, 215) 100%);

}

.tray {
  padding: 0 20px;
  margin: 3px 0 0 0;
  border-radius: 0;
  color: rgb(84, 111, 175);

  /* border-radius: 16px; */
}

.tray .item {
  margin-left: 5px;
  padding: 0 10px;
  background: linear-gradient(45deg, rgb(254, 240, 224) 0%, rgb(244, 169, 158) 50%, rgb(238, 214, 215) 100%);

}

.time {
  margin-left: 5px;
  padding: 0 10px;
  font-weight: normal;
  background: linear-gradient(45deg, rgb(254, 240, 224) 0%, rgb(244, 169, 158) 50%, rgb(238, 214, 215) 100%);
  background-size: 300% 300%;
  animation: gradient 5s ease infinite;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377);
  box-shadow: rgba(0, 0, 0, 0.288) 2px 2px 5px 2px;

  font-family: Renogare;
}

.clock_date {
  font-family: Renogare;
  font-weight: normal;
  font-size: 18;
  color: rgb(49, 50, 68);
}


.battery.critical:not(.charging) {
  background-color: #f38ba8;
  color: #bf5673;
  animation-name: blink;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#cpu {
  background: #458588;
  background-size: 300% 300%;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.377);
  /* background-color: #b4befe; */
  color: #ebdbb2;
}

#disk {
  /* background: #a72fec; */
  background-size: 300% 300%;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.377);
  background-color: #b4befe;
  color: #f72205;
}

#memory {
  background-color: #fecb53;
  color: #32302f;
  font-weight: bolder;
}



#backlight {
  color: #90b1b1;
}

#network {
  color: rgb(29, 182, 80);
  font-weight: bolder;
}

#network.disabled {
  background-color: #45475a;
}

#network.disconnected {
  background: rgb(243, 139, 168);
  background: linear-gradient(45deg,
      rgba(243, 139, 168, 1) 0%,
      rgba(250, 179, 135, 1) 100%);
  color: #fff;
  font-weight: bolder;
  padding-top: 3px;
  padding-right: 11px;
}

#network.linked,
#network.wifi {
  background-color: #998c8c;
  color: rgb(4, 243, 24);
}

#network.ethernet {
  background-color: #f9e2af;
}

#pulseaudio {
  background-color: #fab387;
  color: #bf7d54;
  font-weight: bolder;
}

#pulseaudio.muted {
  background-color: #90b1b1;
}

#custom-media {
  color: #66cc99;
}

#custom-media.custom-spotify {
  background-color: #66cc99;
}

#custom-media.custom-vlc {
  background-color: #ffa000;
}

#temperature {
  background-color: #f9e2af;
  color: #96804e;
}

#temperature.critical {
  background-color: #f38ba8;
  color: #bf5673;
}

#tray {
  background-color: #d3869b;
}

#tray>.passive {
  -gtk-icon-effect: dim;
}

#tray>.needs-attention {
  -gtk-icon-effect: highlight;
  background-color: #eb4d4b;
}

#idle_inhibitor {
  background-color: #2d3436;
}

#idle_inhibitor.activated {
  background-color: #ecf0f1;
  color: #2d3436;
}

#mpd {
  background-color: #66cc99;
  color: #2a5c45;
}

#mpd.disconnected {
  background-color: #f53c3c;
}

#mpd.stopped {
  background-color: #90b1b1;
}

#mpd.paused {
  background-color: #51a37a;
}

/* #language {
  background: #00b093;
  color: #740864;
  padding: 0 5px;

  min-width: 16px;
} */





#custom-music.Playing {
  background: rgb(137, 180, 250);
  background: radial-gradient(circle, rgba(137, 180, 250, 120) 0%, rgba(142, 179, 250, 120) 6%, rgba(148, 226, 213, 1) 14%, rgba(147, 178, 250, 1) 14%, rgba(155, 176, 249, 1) 18%, rgba(245, 194, 231, 1) 28%, rgba(158, 175, 249, 1) 28%, rgba(181, 170, 248, 1) 58%, rgba(205, 214, 244, 1) 69%, rgba(186, 169, 248, 1) 69%, rgba(195, 167, 247, 1) 72%, rgba(137, 220, 235, 1) 73%, rgba(198, 167, 247, 1) 78%, rgba(203, 166, 247, 1) 100%);
  background-size: 400% 400%;
  animation: gradient_f 9s cubic-bezier(.72, .39, .21, 1) infinite;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377);
  font-weight: bold;
  /* color: #ac45c569; */
  /* border-radius: 5rem; */
  padding: 0 15px;
  /* margin: 5px 2px; */
}

#custom-music.Paused,
#custom-music.Stopped {
  background: #161925;
}


#custom-updates {
  color: #89b4fa;
  border-radius: 7px 7px 7px 7px;
  border-left: 0px;
  border-right: 0px;
  margin-left: 2px;
  margin-right: 2px;
}

#custom-player {
  color: #cba6f7;
  border-radius: 7px 7px 7px 7px;
  padding-left: 4px;
  margin-left: 5px;
  margin-right: 5px;
}

#cava.Playing {
  background: rgb(137, 180, 250);
  background: radial-gradient(circle, rgba(137, 180, 250, 120) 0%, rgba(142, 179, 250, 120) 6%, rgba(148, 226, 213, 1) 14%, rgba(147, 178, 250, 1) 14%, rgba(155, 176, 249, 1) 18%, rgba(245, 194, 231, 1) 28%, rgba(158, 175, 249, 1) 28%, rgba(181, 170, 248, 1) 58%, rgba(205, 214, 244, 1) 69%, rgba(186, 169, 248, 1) 69%, rgba(195, 167, 247, 1) 72%, rgba(137, 220, 235, 1) 73%, rgba(198, 167, 247, 1) 78%, rgba(203, 166, 247, 1) 100%);
  /* background-size: 400% 400%; */
  animation: gradient_f 9s cubic-bezier(.72, .39, .21, 1) infinite;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.377);
  font-weight: bold;
  color: #fff;
}

#cava.Paused,
#cava.Stopped {
  background: #161925;
}
